//****************************************************************************
// * file:        BlueqApplLayer.ned
// *
// * author:      BlueQ
// *
// * copyright:   (C) 2004 Telecommunication Networks Group (TKN) at
// *              Technische Universitaet Berlin, Germany.
// *
// *              This program is free software; you can redistribute it 
// *              and/or modify it under the terms of the GNU General Public 
// *              License as published by the Free Software Foundation; either
// *              version 2 of the License, or (at your option) any later 
// *              version.
// *              For further information see file COPYING 
// *              in the top level directory
// ***************************************************************************
// * part of:     framework implementation developed by tkn
// * description: application layer like the TestApplLayer but sends burst of 
// *               messages
// *
// ***************************************************************************
// * changelog:   $Revision$
// *              last modified:   $Date: 2004-09-28 00:46:06 +0200 (Tue, 28 Sep 2004) $
// *              by:              $Author: omfw-willkomm $
// ***************************************************************************/


// Application layer to test lower layer implementations
//
// This application layer does exactly the same as the
// TestApplLayer. The only difference is that is sends a burst of
// broadcast messages instead of just one. The burst size is specified
// in burstSize and can be set in omnetpp.ini
//
// @sa TestApplALyer
// @author Daniel Willkomm
simple BlueqApplLayer
    parameters:
	debug :		bool, // debug switch
	headerLength: 	numeric const, // length of the application message header (in bits)
	burstSize: 	numeric const, // size of the burst
	x: 	   	numeric const,
	y:	   	numeric const,
	centerx: 	numeric const,
	centery:	numeric const,
	startx:		numeric const,
	starty: 	numeric const,
	endx: 		numeric const,
	endy:		numeric const,
	queryx:		numeric const,
	queryy:		numeric const;	//position
    gates:
	in: lowergateIn, // from network layer
	    lowerControlIn;
	out: lowergateOut; // to network layer
endsimple